|
buck7 2.2.0
|
This file contains API for BUCK 7 Click driver. More...
#include "drv_digital_out.h"#include "drv_digital_in.h"#include "drv_spi_master.h"Go to the source code of this file.
Data Structures | |
| struct | buck7_t |
| Click ctx object definition. More... | |
| struct | buck7_cfg_t |
| Click configuration structure definition. More... | |
Functions | |
| void | buck7_cfg_setup (buck7_cfg_t *cfg) |
| Config Object Initialization function. | |
| BUCK7_RETVAL | buck7_init (buck7_t *ctx, buck7_cfg_t *cfg) |
| Initialization function. | |
| void | buck7_default_cfg (buck7_t *ctx) |
| Click Default Configuration function. | |
| void | buck7_generic_transfer (buck7_t *ctx, uint8_t *wr_buf, uint16_t wr_len, uint8_t *rd_buf, uint16_t rd_len) |
| Generic transfer function. | |
| void | buck7_set_output_voltage (buck7_t *ctx, uint16_t voltage) |
| Function for settings output voltage. | |
| void | buck7_enable (buck7_t *ctx) |
| Function for enable chip. | |
| void | buck7_set_mode (buck7_t *ctx, uint8_t mode) |
| Function for settings chip mode. | |
| uint8_t | buck7_get_res_state (buck7_t *ctx) |
| Function for read RES state. | |
This file contains API for BUCK 7 Click driver.